//
//  GLESPrim.h
//  DrawTexturePolygon
//
//  Created by 畑圭輔 on 10/03/07.
//  Copyright 2010 Keisuke Hata. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>

#import <OpenGLES/EAGL.h>
#import <OpenGLES/EAGLDrawable.h>
#import <Foundation/Foundation.h>
#import <OpenGLES/ES1/gl.h>

#define _RGBA( r,g,b,a ) r,g,b,a

@protocol EAGLDrawableDelegate

@required
- (void) calc;
- (void) draw;

@property (readwrite) BOOL hidden;

@end

@interface EAGLPrim : NSObject
{
	int mode;
}
@property (nonatomic,readwrite) int mode;

@end